package com.sihan.swvp.dao.jc;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;
import com.sihan.swvp.dao.BaseDao;
import com.sihan.swvp.entity.jc.JcBz;

public interface JcBzDao extends BaseDao{

	public Page<Map<String, Object>> getJcBz(Map<String, Object> params);
	/**
	 * 查询班组树型菜单数据
	 * @param params
	 * @return
	 */
	public List<Map<String, Object>> getJcBzTree(Map<String, Object> params);
	public void addJcBz(JcBz bean);
	public void updateJcBz(JcBz bean);
	public int deleteJcBz(@Param("id")Integer id);
	/**
	 * 验证编码和名称
	 * @param code
	 * @param dsdwName
	 * @return
	 */
	public Integer getJcBzValidate(@Param("bzCode")String bzCode,@Param("bzName")String bzName,@Param("id")Integer id,@Param("bzzyMajorId")Integer bzzyMajorId);
}
